home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 362 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.2 KB

  1. Subject: Re: termios, /dev/aux 
  2. Date: Wed, 14 Jul 93 11:15:13 MDT
  3. From: Howard Chu <hyc@hanauma.Jpl.Nasa.Gov>
  4.  
  5.  
  6.   Hi all,
  7.   
  8.   yesterday I played around with ZModem source code (version 3.23 from
  9.   5-03-93). I've started a termios header files and the support functions
  10.   (mostly dummies for now).
  11.   
  12.   HOWEVER: sz tries to open /dev/tty. Question #1: I would say that for us,
  13.   this should be /dev/aux, ok? open() calls unx2dos, which translates that
  14.   to AUX:. Then, it tries a call to Fattrib(), which of course fails.
  15.   -> I can't open() "AUX:". I guess that this is a bug :-)
  16.  
  17. Hm. Previous versions of zmodem just checked if stdin and stdout isatty().
  18. That let you run zmodem both during a dial-up terminal session, and from
  19. a local session directed to anywhere else. I think this is the correct &
  20. most desirable behavior... I've been hacking up Bammi's old Zmodem sources
  21. along these lines, to eliminate the distinction between the "STANDALONE" and
  22. "REMOTE" versions. Zmodem shouldn't mess with tty speeds, parity, or
  23. whatever, it should just set cooked or raw mode on file descriptor 1 as
  24. needed. Some other program should have done the real conditioning of the
  25. line already.
  26.  
  27. (My opinions only, obviously...)
  28.   -- Howard
  29.